package com.xiao.hao.convertor;


import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import java.util.List;
import com.xiao.hao.config.LocalDateTimeConfig;
import com.xiao.hao.req.XhUserInfoFileInsertReq;
import com.xiao.hao.req.XhUserInfoFileQueryPageReq;
import com.xiao.hao.req.XhUserInfoFileUpdateReq;
import com.xiao.hao.resp.XhUserInfoFileResp;
import com.xiao.hao.entity.XhUserInfoFile;

/**
*
*
* @Description 用户档案表 类型转换
* @Author xiaohao
* @Date 2025-03-14 16:55:40
*/
@Mapper(uses = {LocalDateTimeConfig.class}, componentModel = "spring")
public interface XhUserInfoFileConvertor {

    XhUserInfoFileConvertor INSTANCE = Mappers.getMapper(XhUserInfoFileConvertor.class);

    /**
    * 功能描述:
    *
    * @param req
    * @return com.xiao.hao.entity.XhUserInfoFile
    * @author xiaohao
    * @date 2025-03-14 16:55:40
    */
    XhUserInfoFile reqToEntity(XhUserInfoFileInsertReq req);

    /**
    * 功能描述:
    *
    * @param req
    * @return com.xiao.hao.entity.XhUserInfoFile
    * @author xiaohao
    * @date 2025-03-14 16:55:40
    */
    XhUserInfoFile reqToEntity(XhUserInfoFileUpdateReq req);


    /**
    * 功能描述:
    *
    * @param entity
    * @return com.xiao.hao.resp.XhUserInfoFileResp
    * @author xiaohao
    * @date 2025-03-14 16:55:40
    */
    XhUserInfoFileResp entityToResp(XhUserInfoFile entity);

    /**
    * 功能描述:
    *
    * @param list
    * @return java.util.List<com.xiao.hao.resp.XhUserInfoFileResp>
    * @author xiaohao
    * @date 2025-03-14 16:55:40
    */
    List<XhUserInfoFileResp> entityListToRespList(List<XhUserInfoFile> list);
}



